package com.note.chh.notebook.Model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by caihuahui on 2018/2/27.
 */
@Entity
public class Note {
    @Id(autoincrement = true)
    private long id;
    @NotNull
    private String title;
    private String content;
    @NotNull
    private String time;
    private String pictureUrl;
    private String audioUrl;
    private String videoUrl;
    @Generated(hash = 495898789)
    public Note(long id, @NotNull String title, String content,
            @NotNull String time, String pictureUrl, String audioUrl,
            String videoUrl) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.time = time;
        this.pictureUrl = pictureUrl;
        this.audioUrl = audioUrl;
        this.videoUrl = videoUrl;
    }
    @Generated(hash = 1272611929)
    public Note() {
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getContent() {
        return this.content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getTime() {
        return this.time;
    }
    public void setTime(String time) {
        this.time = time;
    }
    public String getPictureUrl() {
        return this.pictureUrl;
    }
    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }
    public String getAudioUrl() {
        return this.audioUrl;
    }
    public void setAudioUrl(String audioUrl) {
        this.audioUrl = audioUrl;
    }
    public String getVideoUrl() {
        return this.videoUrl;
    }
    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }
    
}
